﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tangosol.IO.Pof;
using Coherence.Contrib;

namespace CoherenceSample
{
    [POFSerializableObject(StoreMetadata=true)]
    public class PhoneNumber// : IPortableObject
    {
        [POFSerializableMember(Order=0,WriteAsType=POFWriteAsTypeEnum.Int16)]
        public int ID { get; set; }
        [POFSerializableMember(Order=1)]
        public int PersonID {get;set;}
        [POFSerializableMember(Order=2)]
        public string Name { get; set; }
        [POFSerializableMember(Order = 3)]
        public string Number { get; set; }

        public PhoneNumber()
        {

        }
    }
}
